package fun.linze.wallpaperwebsite.service;

import fun.linze.wallpaperwebsite.dao.wallpaper.Tags;
import fun.linze.wallpaperwebsite.dao.wallpaper.WallpaperPutDAO;
import fun.linze.wallpaperwebsite.dao.wallpaper.WallpaperUploadDAO;
import fun.linze.wallpaperwebsite.domain.TWallpaper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
* @author wangy
* @description 针对表【t_wallpaper(壁纸信息表)】的数据库操作Service
* @createDate 2025-06-27 18:02:42
*/
public interface TWallpaperService extends IService<TWallpaper> {

    public ResponseEntity<?> uploadWallpaper( WallpaperUploadDAO wallpaperUploadDAO, String authHeader);

    ResponseEntity<?> getWallpapers(int page, int size, String sort, String[] tags);

    ResponseEntity<?> getWallpaperById(String id);

    ResponseEntity<?> putWallpaperById(String id, WallpaperPutDAO wallpaperPutDAO);

    void LikeWallpaper(String id);

    void DownloadWallpaper(String id);

    void AddWallpaperTags(Long id, Tags tags);

    void RemoveWallpaperTags(Long id, Tags tags);
}
